<?php

/* @var $this \yii\web\View */
/* @var $content string */

use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\helpers\Url;
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
	
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta name="description" content="Neon Admin Panel" />
	<meta name="author" content="" />
	
    <title><?= Html::encode($this->title) ?></title>
	<link rel="stylesheet" href="/statics/js/jquery-ui/css/no-theme/jquery-ui-1.10.3.custom.min.css">
	<link rel="stylesheet" href="/statics/css/font-icons/entypo/css/entypo.css">
	<link rel="stylesheet" href="/statics/css/font-icons/entypo/css/animation.css">
	<link rel="stylesheet" href="/statics/css/neon.css">
	<link rel="stylesheet" href="/statics/css/custom.css">

	<script src="/statics/js/jquery-1.10.2.min.js"></script>

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
	  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	  <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
	<![endif]-->
    <?php $this->head() ?>
	
</head>
<body class="page-body">
<?php $this->beginBody() ?>
<div class="page-container">
<?php echo $this->render('left.php'); ?>
	<div class="main-content">
    <?php echo $this->render('header.php'); ?>
    <hr />
    <?php
        if(\Yii::$app->getSession()->getFlash("error")) {
    ?>
        <div class="row">	
            <div class="col-md-12">
                <blockquote class="blockquote-red">
                    <p><strong><?php echo \Yii::$app->getSession()->getFlash("error");?></strong></p>
                </blockquote>
            </div>
        </div>
    <?php
        }
    ?>
    <?php
        if(\Yii::$app->getSession()->getFlash("warning")) {
    ?>
        <div class="row">	
            <div class="col-md-12">
                <blockquote class="blockquote-gold">
                    <p><strong><?php echo \Yii::$app->getSession()->getFlash("warning");?></strong></p>
                </blockquote>
            </div>
        </div>
    <?php
        }
    ?>
    <?php
        if(\Yii::$app->getSession()->getFlash("success")) {
    ?>
        <div class="row">	
            <div class="col-md-12">
                <blockquote class="blockquote-green">
                    <p><strong><?php echo \Yii::$app->getSession()->getFlash("success");?></strong></p>
                </blockquote>
            </div>
        </div>
    <?php
        }
    ?>
    <?php
        if(\Yii::$app->getSession()->getFlash("info")) {
    ?>
        <div class="row">	
            <div class="col-md-12">
                <blockquote class="blockquote-green">
                    <p><strong><?php echo \Yii::$app->getSession()->getFlash("info");?></strong></p>
                </blockquote>
            </div>
        </div>
    <?php
        }
    ?>
        <?= $content ?>
    <?php echo $this->render('footer.php'); ?>
	</div>
</div>

<?php $this->endBody() ?>

	<!-- Bottom Scripts -->
	<script src="/statics/js/gsap/main-gsap.js"></script>
	<script src="/statics/js/bootstrap.min.js"></script>
	<script src="/statics/js/resizeable.js"></script>
	<script src="/statics/js/neon-custom.js"></script>

</body>
</html>
<?php $this->endPage() ?>
